using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace Jasongozy.Copor.Utility {
    public static class GeneratorHelper {
        public static TableSchema GetTableSchame(string tableName, string dbConnectionString){
            throw new NotImplementedException();
        }

        public static TableSchema GetTableSchame(XmlNode schameXml) {
            throw new NotImplementedException();
        }

        public static TableSchema GetTableSchame(string inputFile) {
            XmlDocument doc = new XmlDocument();
            doc.Load(inputFile);
            return GetTableSchame(doc);
        }

        /// <summary>
        /// check app config file,make sure all necessary items are set.
        /// </summary>
        /// <returns></returns>
        public static bool CheckConfigInput() {
            return true;
        }
        //public static 
    }
}
